package com.kust.smarhome.background.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("person_details")
public class PersonDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("relation_id")
    private Integer relationId;

    @TableField("logo_id")
    private Integer logoId;

    @TableField("person_name")
    private String personName;

    @TableField("person_birth")
    private String personBirth;

    @TableField("person_sex")
    private Integer personSex;

    @TableField("height")
    private Double height;

    @TableField("weight")
    private Double weight;

    @TableField("rate_now")
    private Integer rateNow;

    @TableField("watch_id")
    private Integer watchId;

    @TableField("safe_distance")
    private Double safeDistance;


}
